package testers;

public class TimerTester {

    public static void main(String[] args) {
       
    	long a = System.currentTimeMillis();
    	System.out.println("Starting the timer in: "+a);
   
        long end = a + 5*1000;
       
        long b = 0;
        while (b < end){
        	//System.out.println(b+" < "+end);
        	b = System.currentTimeMillis();
        }
        System.out.println("Finished the timer in: "+b);
       
        System.out.println("Start time: "+a);
        System.out.println("Stop time : "+b);
        System.out.println("Enlapsed: "+(b-a)+" miliseconds.");
       
    }

}